//
// Created by nvidia on 2021/6/8.
//

#ifndef ALLIANCE_INFANTRY6_8_PLOT_H
#define ALLIANCE_INFANTRY6_8_PLOT_H

#include "matplotlibcpp.h"

namespace plt=matplotlibcpp;

class Plot {
public:
    Plot(float num=100);
    Plot()= default;
    ~Plot()= default;
    void record(double data, std::string name);
    void show();
    float start;

private:
    std::vector<std::vector<double>> datas;
    std::vector<std::vector<double>> tick;
    std::vector<std::string> names;
    int num;
};


#endif //ALLIANCE_INFANTRY6_8_PLOT_H
